package com.atguigu.exer;

/**
 * @author azzn1400820029
 * @create 2021-12-12 19:35
 */
public class CircleTest {
}

class Circle {
    double radius;

    //    Calculate the radius of a Circle
//    Mode one:
//    public double findArea() {
//        double area = Math.PI * radius * radius;
//        return area;
//    }
//    Mode two:
    public void findArea() {
        double area = Math.PI * radius * radius;
        System.out.println(area);
    }
}